package com.controller;

import org.springframework.web.bind.annotation.RestController;

import com.model.Order;
import com.service.OrderServiceInterface;

@RestController
public class OrderController implements OrderServiceInterface {
	
	public Order getOrderByID(String id) {
		Order order = new Order();
		order.setOrderID(id);
		order.setAmount(100);
		order.setOwner("Tom");
		return order;
	}
}
